package com.mycloud.enums;

import lombok.Getter;

/**
 * Created by PC on 2019/1/5.
 */
@Getter
public enum ResultEnum {

    LOGIN_FAIL(1, "登录失败"),
    ROLE_ERROR(2,"角色有误")
    ;
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
